package com.example.fitnessservice.module.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDetails {
    private Integer id;
    private String courseName;
    private Integer placeId;
    private Integer courseCoachId;   //主教练id
    private Integer courseType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date courseStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date courseEndTime;
    private Integer courseStatus;
    private String courseDescription;
    private double courseMoney;
    private Integer courseNum;

    private Coach courseCoach;   //存放主教练的信息

    private Place place;

    private CourseType courseTypes;
}
